using System.ComponentModel;
using ForguncyPluginTemplate.Properties;
namespace ForguncyPluginTemplate
{
    public class SRDisplayNameAttribute : DisplayNameAttribute
    {
        public SRDisplayNameAttribute(string displayName)
            : base(displayName)
        {

        }
        public override string DisplayName
        {
            get
            {
                return Resources.ResourceManager.GetString(base.DisplayName);
            }
        }
    }

    public class SRDescriptionAttribute : DescriptionAttribute
    {
        public SRDescriptionAttribute(string description)
            : base(description)
        {

        }

        public override string Description
        {
            get
            {
                return Resources.ResourceManager.GetString(base.Description);
            }
        }
    }
}